package KK.System.Pool
{
	public class Pool implements IPool
	{
		
		static public const USING:int=0;
		static public const UNUSED:int=1;
		
		private var state:int;
		public function Pool()
		{
			init();
		}
		private function init():void{
			
		}
		/**
		 * 标记使用 
		 * @return 
		 * 
		 */
		public function Using():int
		{
			//TODO: implement function
			this.state=USING;
			return 0;
		}
		
		/**
		 * 标记未使用 
		 * @return 
		 * 
		 */
		public function UnUsed():int
		{
			//TODO: implement function
			this.state=UNUSED;
			return 0;
		}
		
		/**
		 * 获取 状态  
		 * @return 
		 * 
		 */
		public function get PoolStatus():int
		{
			//TODO: implement function
			return state;
		}
	}
}